package com.systop.dxjj.modules.recruitinfo.service;

import com.systop.dxjj.common.pojo.Recruitinfo;
import com.systop.dxjj.common.pojo.Teacher;
import com.systop.dxjj.common.utils.R;

import javax.servlet.http.HttpServletRequest;


public interface RecruitinfoService {
    //查询全部
    R getAll();
    //根据id查询
    R getById(Integer teachid);
    //根据姓名查询
    R getByName(String teachname);
    //根据id删除
    R deleteById(Integer recruitid);
    //添加
    R addRecruitinfo(String turtortype, String pay, String location, String classtype, String detail, Integer teachid, HttpServletRequest request);

    //通过recruitid查询teachid
    Integer getTeachidByRecruitid(Integer recruitid);
}
